justbur [Sun, 12 Jul 2015 15:44:44 +0000 (11:44 -0400)]
Fixes #24 (Update docstrings)
justbur [Sun, 12 Jul 2015 15:02:47 +0000 (11:02 -0400)]
Cleanup replacement helper functions
justbur [Sat, 11 Jul 2015 20:24:00 +0000 (16:24 -0400)]
Add note to README about side-window defaults
justbur [Sat, 11 Jul 2015 20:12:53 +0000 (16:12 -0400)]
Add unicode correction for wide unicode chars
justbur [Sat, 11 Jul 2015 17:38:56 +0000 (13:38 -0400)]
Add default replacement for select-window-[N]
justbur [Sat, 11 Jul 2015 17:38:39 +0000 (13:38 -0400)]
Mention customize-group in README
justbur [Sat, 11 Jul 2015 17:28:58 +0000 (13:28 -0400)]
Readme typo
justbur [Sat, 11 Jul 2015 17:27:45 +0000 (13:27 -0400)]
Merge branch 'master' of https://github.com/justbur/emacs-which-key
justbur [Sat, 11 Jul 2015 17:25:49 +0000 (13:25 -0400)]
Add replacement descriptions to readme.
Also move status list to end
Justin Burkett [Sat, 11 Jul 2015 16:58:03 +0000 (12:58 -0400)]
Merge pull request #30 from bmag/readme
Start special-features section in readme #29
justbur [Sat, 11 Jul 2015 16:55:23 +0000 (12:55 -0400)]
Merge branch 'readme' of https://github.com/bmag/emacs-which-key into readme
justbur [Sat, 11 Jul 2015 16:52:35 +0000 (12:52 -0400)]
Show prefix in can't show messages
justbur [Sat, 11 Jul 2015 16:49:05 +0000 (12:49 -0400)]
Merge status-key
justbur [Sat, 11 Jul 2015 16:42:06 +0000 (12:42 -0400)]
Add status defcustom and clean-up layout funcs
Bar Magal [Sat, 11 Jul 2015 16:25:43 +0000 (19:25 +0300)]
readme: explain different popup types
Bar Magal [Sat, 11 Jul 2015 15:47:54 +0000 (18:47 +0300)]
Start special-features section in readme #29
justbur [Sat, 11 Jul 2015 10:53:46 +0000 (06:53 -0400)]
Add better check for no room in frame
justbur [Sat, 11 Jul 2015 10:22:36 +0000 (06:22 -0400)]
Protect against infinite loops
justbur [Sat, 11 Jul 2015 10:22:36 +0000 (06:22 -0400)]
Protect against infinite loops
justbur [Sat, 11 Jul 2015 02:00:14 +0000 (22:00 -0400)]
Start to fix lock up on small vertical window
justbur [Sat, 11 Jul 2015 01:52:10 +0000 (21:52 -0400)]
Merge status-key and layout changes
justbur [Fri, 10 Jul 2015 21:43:01 +0000 (17:43 -0400)]
Fix bug when frame too small
justbur [Fri, 10 Jul 2015 21:28:14 +0000 (17:28 -0400)]
Remove message
justbur [Fri, 10 Jul 2015 21:13:42 +0000 (17:13 -0400)]
Merge branch 'fill-columns'
justbur [Fri, 10 Jul 2015 21:12:27 +0000 (17:12 -0400)]
Reorganize code and clean-up comments a little
justbur [Fri, 10 Jul 2015 20:56:32 +0000 (16:56 -0400)]
Re-enable the prefix option
justbur [Fri, 10 Jul 2015 18:51:45 +0000 (14:51 -0400)]
Require dash
Justin Burkett [Fri, 10 Jul 2015 18:47:09 +0000 (14:47 -0400)]
Merge pull request #26 from bmag/fill-columns
Use toggle-truncate-lines; reduce -> cl-reduce
Justin Burkett [Fri, 10 Jul 2015 18:46:14 +0000 (14:46 -0400)]
Merge pull request #27 from bmag/master
Fix some defcustoms
Bar Magal [Fri, 10 Jul 2015 18:29:58 +0000 (21:29 +0300)]
Fix some defcustoms
Bar Magal [Fri, 10 Jul 2015 17:57:34 +0000 (20:57 +0300)]
Check frame width in a non-buggy way
`(window-width (frame-root-window))` throws an error when the frame is
split (frame's root window is not live).
Bar Magal [Fri, 10 Jul 2015 17:30:30 +0000 (20:30 +0300)]
Use toggle-truncate-lines; reduce -> cl-reduce
Enabling toggle-truncate-lines in which-key--buffer, to avoid empty
lines when the window is just a bit too narrow.
justbur [Fri, 10 Jul 2015 16:13:50 +0000 (12:13 -0400)]
Bring back error message for too small of a frame
justbur [Fri, 10 Jul 2015 15:56:15 +0000 (11:56 -0400)]
Fix bug (layout wasn't going to 1 line)
justbur [Fri, 10 Jul 2015 14:41:30 +0000 (10:41 -0400)]
Fill columns first with variable column width
Allows for more compact layout
justbur [Fri, 10 Jul 2015 00:49:37 +0000 (20:49 -0400)]
Fix bug in populate buffer
justbur [Fri, 10 Jul 2015 00:46:49 +0000 (20:46 -0400)]
Try out status-key option
justbur [Thu, 9 Jul 2015 20:22:16 +0000 (16:22 -0400)]
Fix #6: TODO for defcustom
justbur [Thu, 9 Jul 2015 17:11:05 +0000 (13:11 -0400)]
Make variables stand-out in readme
justbur [Thu, 9 Jul 2015 16:58:45 +0000 (12:58 -0400)]
Fix add replacement functions
justbur [Thu, 9 Jul 2015 16:33:36 +0000 (12:33 -0400)]
Another typo
justbur [Thu, 9 Jul 2015 16:32:13 +0000 (12:32 -0400)]
Typo in add-major-mode-key-based-...
justbur [Thu, 9 Jul 2015 16:27:15 +0000 (12:27 -0400)]
Merge branch 'better-window-sizes'
justbur [Thu, 9 Jul 2015 16:24:19 +0000 (12:24 -0400)]
remove mode-line
justbur [Thu, 9 Jul 2015 16:22:44 +0000 (12:22 -0400)]
Merge branch 'better-window-sizes' of https://github.com/bmag/emacs-which-key into better-window-sizes
justbur [Thu, 9 Jul 2015 15:12:19 +0000 (11:12 -0400)]
Change side-window params to percentages
Bar Magal [Thu, 9 Jul 2015 15:56:36 +0000 (18:56 +0300)]
Use fit-window-to-buffer again
Bar Magal [Thu, 9 Jul 2015 14:27:11 +0000 (17:27 +0300)]
Allow percentages for side-window max sizes #19
justbur [Thu, 9 Jul 2015 13:38:45 +0000 (09:38 -0400)]
Add functions for adding to replacement alists
Bar Magal [Thu, 9 Jul 2015 13:22:27 +0000 (16:22 +0300)]
Fix text vs. total window width handling #22
justbur [Thu, 9 Jul 2015 12:22:56 +0000 (08:22 -0400)]
Remove mode-line and tweak max-height
max-height for side-window could still be more precise, but this seems
to work
justbur [Thu, 9 Jul 2015 11:55:48 +0000 (07:55 -0400)]
Make user setup functions interactive and autoload
justbur [Thu, 9 Jul 2015 11:44:36 +0000 (07:44 -0400)]
Fix #22
Check for keymap instead of not a symbol.
justbur [Thu, 9 Jul 2015 11:25:47 +0000 (07:25 -0400)]
Remove hidden-mode-line-mode
justbur [Thu, 9 Jul 2015 02:36:07 +0000 (22:36 -0400)]
Add minibuffer picture
Justin Burkett [Thu, 9 Jul 2015 02:28:25 +0000 (22:28 -0400)]
Delete which-key-minibuffer.PNG
justbur [Thu, 9 Jul 2015 02:25:00 +0000 (22:25 -0400)]
Add bottom section and picture to readme
justbur [Thu, 9 Jul 2015 02:20:03 +0000 (22:20 -0400)]
Add minibuffer picture
justbur [Thu, 9 Jul 2015 02:18:02 +0000 (22:18 -0400)]
Add config setup functions and more
Fix a problem where the frame-height was not accouting for the
minibuffer. Also, set the buffer to hidden-mode-line-mode to hide the
mode-line for now (#16).
justbur [Thu, 9 Jul 2015 02:16:21 +0000 (22:16 -0400)]
Update readme
justbur [Thu, 9 Jul 2015 00:39:27 +0000 (20:39 -0400)]
Possible fix for #18
justbur [Wed, 8 Jul 2015 20:08:03 +0000 (16:08 -0400)]
Fix #21
justbur [Wed, 8 Jul 2015 19:35:53 +0000 (15:35 -0400)]
Fix act-width in populate-buffer
justbur [Wed, 8 Jul 2015 17:55:53 +0000 (13:55 -0400)]
Rework key-based replacement
Previous implementation didn't work for multiple major-mode bindings
justbur [Wed, 8 Jul 2015 17:32:27 +0000 (13:32 -0400)]
Fix replace-match and rewrite propertize-key
justbur [Wed, 8 Jul 2015 17:20:27 +0000 (13:20 -0400)]
Break out key-based replacement function.
Seems simpler to use `assoc-string` in this case.
justbur [Wed, 8 Jul 2015 15:41:10 +0000 (11:41 -0400)]
Fixes #19
Kind of a hack, but seems a lot easier than trying to get an exact
calculation of the width
justbur [Wed, 8 Jul 2015 15:35:40 +0000 (11:35 -0400)]
Remove hide-popup call from update function
Doesn't seem to be needed anymore after adding hide-popup to the
pre-command-hook.
justbur [Wed, 8 Jul 2015 14:43:50 +0000 (10:43 -0400)]
Fix bug in format-matches
justbur [Wed, 8 Jul 2015 14:36:57 +0000 (10:36 -0400)]
Add option to specify major-mode in replacements
Note all replacements need to be proper lists instead of cons cells now
to add the option to check the third argument. If the third argument is
missing it defaults to replacing in all major modes
justbur [Wed, 8 Jul 2015 12:52:28 +0000 (08:52 -0400)]
Revert unintended change to act-height calc
justbur [Wed, 8 Jul 2015 12:29:16 +0000 (08:29 -0400)]
Fix #17 errors when not enough room is available.
Also gives more control over whether and where to show prefix keys. When
the buffer is vertical showing in first line seems to make more sense.
justbur [Wed, 8 Jul 2015 11:40:17 +0000 (07:40 -0400)]
Add :group to faces
justbur [Wed, 8 Jul 2015 11:37:41 +0000 (07:37 -0400)]
Require cl-lib
Addresses #15
justbur [Wed, 8 Jul 2015 00:12:01 +0000 (20:12 -0400)]
Add key-based replacement list
justbur [Tue, 7 Jul 2015 23:39:38 +0000 (19:39 -0400)]
Add regexp to remove namespace (w minor cleanup)
justbur [Tue, 7 Jul 2015 23:25:57 +0000 (19:25 -0400)]
Remove column-width from max-dimensions
It's not needed
justbur [Tue, 7 Jul 2015 20:19:45 +0000 (16:19 -0400)]
Show prefix in popup
justbur [Tue, 7 Jul 2015 19:21:57 +0000 (15:21 -0400)]
Remove commented out close timer stuff
Closes #10
justbur [Tue, 7 Jul 2015 19:11:46 +0000 (15:11 -0400)]
Make echo-keystrokes a variable and speed it up.
justbur [Tue, 7 Jul 2015 19:06:06 +0000 (15:06 -0400)]
Be consistent in defining faces.
justbur [Tue, 7 Jul 2015 19:00:10 +0000 (15:00 -0400)]
Make default delay less aggressive.
Also avoids touching echo-keystrokes if it is already low.
justbur [Tue, 7 Jul 2015 17:27:08 +0000 (13:27 -0400)]
Maek special keys bold
justbur [Tue, 7 Jul 2015 17:24:39 +0000 (13:24 -0400)]
Add DEL to special keys
justbur [Tue, 7 Jul 2015 15:08:11 +0000 (11:08 -0400)]
Add small indication of more pages
justbur [Tue, 7 Jul 2015 14:58:13 +0000 (10:58 -0400)]
Pull out faces and add special key face
Special keys (SPC, TAB, RET and ESC) are now truncated to one character
and shown in inverse-video to distinguish them from S, T, R and E
justbur [Mon, 6 Jul 2015 19:50:42 +0000 (15:50 -0400)]
Need cl for emacs < 25
justbur [Mon, 6 Jul 2015 19:25:49 +0000 (15:25 -0400)]
Fix compiler warnings
justbur [Mon, 6 Jul 2015 18:40:07 +0000 (14:40 -0400)]
Change side-window default position to right
justbur [Mon, 6 Jul 2015 18:37:27 +0000 (14:37 -0400)]
Try without close timer
Justin Burkett [Mon, 6 Jul 2015 18:28:39 +0000 (14:28 -0400)]
Merge pull request #13 from bmag/pre-command-hook
Hide buffer right before command execution
justbur [Mon, 6 Jul 2015 18:23:56 +0000 (14:23 -0400)]
Merge branch 'frame-popup' of https://github.com/bmag/emacs-which-key into pr12
justbur [Mon, 6 Jul 2015 18:22:08 +0000 (14:22 -0400)]
Work on docstrings
justbur [Mon, 6 Jul 2015 17:53:10 +0000 (13:53 -0400)]
Redo replacement logic
justbur [Mon, 6 Jul 2015 17:40:49 +0000 (13:40 -0400)]
Make arrow separator into variable
justbur [Mon, 6 Jul 2015 17:23:19 +0000 (13:23 -0400)]
Refactor replacement alists
Bar Magal [Mon, 6 Jul 2015 16:34:31 +0000 (19:34 +0300)]
Hide buffer right before command execution
Fixes #9, this is also what guide-key uses.
When quoting functions, using "#'" tells the compiler that you're
quoting a function, and allows it to catch void function errors.
Bar Magal [Mon, 6 Jul 2015 16:22:40 +0000 (19:22 +0300)]
Try to fix focus problems with popup frame #7
justbur [Mon, 6 Jul 2015 15:18:55 +0000 (11:18 -0400)]
Allow echo-keystrokes but make it quick
justbur [Mon, 6 Jul 2015 15:03:00 +0000 (11:03 -0400)]
Add .gitignore